<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html lang="zh-CN">
   <head>
	 <meta charset="utf-8">
	 <meta http-equiv="X-UA-Compatible" content="IE=edge">
	 <meta name="viewport" content="width=device-width, initial-scale=1">
	 
   </head>
   <body>
	<div class="modal-content">
	  <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	    <h4 class="modal-title" id="myModalLabel">所属项目</h4>
	  </div>
	  <div class="modal-body">
			<c:choose>
				<c:when test="${empty infoProjects}">
					<div class="panel panel-default">
						<div class="panel-body">该公告信息没有所属项目</div>
					</div>
				</c:when>
				<c:otherwise>
					<ul class="list-group">
						<c:forEach items="${infoProjects}" var="infoProject">
							<li class="list-group-item">${infoProject.name}</li>
						</c:forEach>
					</ul>
				</c:otherwise>
			</c:choose>

		</div>
	  <div class="modal-footer">
	  <div class="form-group">
	    <button type="button" class="btn btn-default btn-white btn-round" data-dismiss="modal"><i class="glyphicon glyphicon-remove bigger-125"></i> 取消</button>
	  </div>
	  </div>
	</div>
	</body>
</html>
